package com.rimi.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rimi.bean.Prescription;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("编辑处方参数")
public class AddPrescriptionVo {


    @ApiModelProperty("医生ID")
    private Integer doctorId;

    @ApiModelProperty("就诊时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date prescriptionDate;

    @ApiModelProperty("医生诊断")
    private String doctorDiagnosis;

    @ApiModelProperty("宠物编号")
    private Integer petsId;

    @ApiModelProperty("药品编号")
    private Integer medicinalId;

    @ApiModelProperty("药品数量")
    private Integer medicinalNum;

    @ApiModelProperty("药品价格")
    private double medicinalMoney;

}
